package com.weilai.domain;

import java.util.Date;

public class Follows {
    // 定义与表字段对应的私有属性
    private int followerId;
    private int followingId;
    private Date createdAt;

    // 无参构造函数
    public Follows() {
    }

    // 有参构造函数
    public Follows(int followerId, int followingId, Date createdAt) {
        this.followerId = followerId;
        this.followingId = followingId;
        this.createdAt = createdAt;
    }

    // followerId属性的getter方法
    public int getFollowerId() {
        return followerId;
    }
    // followerId属性的setter方法
    public void setFollowerId(int followerId) {
        this.followerId = followerId;
    }

    // followingId属性的getter方法
    public int getFollowingId() {
        return followingId;
    }
    // followingId属性的setter方法
    public void setFollowingId(int followingId) {
        this.followingId = followingId;
    }

    // createdAt属性的getter方法
    public Date getCreatedAt() {
        return createdAt;
    }
    // createdAt属性的setter方法
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }


}